#include "widget.h"
#include "ui_widget.h"
#include <QMovie>
Widget::Widget(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::Widget)
{
    ui->setupUi(this);

    QMovie *moive = new QMovie(":/Images/yanhua.gif",QByteArray(),this);
    ui->label->setMovie(moive);
    moive->start();
}

Widget::~Widget()
{
    delete ui;
}
